<%--
  Created by IntelliJ IDEA.
  User: d11yu
  Date: 2022/4/9
  Time: 6:32
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>九九乘法表</title>
    <style>
        table {
            border-collapse: collapse;
        }
        td {
            border: black solid 1px;
            padding-left: 12px;
            padding-right: 12px;
        }
    </style>
</head>
<body>
<table>
    <%
        for (int i = 1; i <= 9; i++) { %>
    <tr>
        <% for (int j = 1; j <= i; j++) { %>
        <td>
        <%=i + " x " + j + " = " + i * j%>
        </td>
        <% } %>
    </tr>
    <% }
    %>
</table>
</body>
</html>
